package com.neusoft.elm.service;

import java.util.List;
import com.neusoft.elm.po.Orders;
public interface OrdersService {
    //下订单（先清空当前用户购物车中当前商家的所有食品，然后生成订单和订单明细，最后返回订单号）
    public int createOrders(String userId,Integer businessId,Integer daId) throws Exception;
    public Orders getOrdersById(Integer orderId) throws Exception;
    List<Orders> listOrdersByUserId(String userId) throws Exception;
}